// 标题组件
const Title = ({ title, num, more = <div></div> }) => {
  return (
    <div>
      <h1 style={{ fontSize: "14px", fontWeight: '600', position: 'relative', paddingLeft: '15px', color: '#344054' }}>
        {title}
        <span style={{ width: '20px', height: '10px', display: 'inline-block' }}>
          {num ? `(${num})` : ''}
        </span>
        <div style={{ float:'right' }}>{more}</div>
      </h1>
    </div>
  );
};

export default Title;